<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <input type="text" id="username">
    <input type="password" id="password">
    <button onclick="login()">login</button>

    <script>
        function login() {
            let username = document.getElementById('username').value;
            let password = document.getElementById('password').value;
            fetch(`http://localhost:3000/login?username=${username}&password=${password}`,
                {
                    method: 'GET',
                }
            )
        }
    </script>
</body>

</html>